/**
 * @author kan
 */


$(function(){
    var colNames = [
    "Instance Id",
    "Image Id",
    "Public IP",
    "Private IP",
    "State",
    "Instance Type",
    "Launch Time",
    "Zone"
    ];
    var colModels = [
    {
        name: "instanceId",
        index: "instanceId",
        width: 100
    },
    {
        name: "imageId",
        index: "imageId",
        width: 150
    },
    {
        name: "publicIP",
        index: "publicIP",
        width: 100
    },
    {
        name: "privateIP",
        index: "privateIP",
        width: 100
    },
    {
        name: "state",
        index: "state",
        width: 100
    },
    {
        name: "instanceType",
        index: "instanceType",
        width: 100
    },
    {
        name: "launchTime",
        index: "launchTime",
        width: 250
    },
    {
        name: "zone",
        index: "zone",
        width: 100
    },
    ];

    createGrid("instances", colNames, colModels);
});